﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmCronogramaAutoevaluacion.aspx.cs" Inherits="Apa.Forms.frmCronogramaAutoevaluacion" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
      <style>
    
    
    /* #### bootstrap Form #### */
.bootstrap-frm {
    margin-left:auto;
    margin-right:auto;

    max-width: 500px;
    background: #FFF;
    padding: 20px 30px 20px 30px;
    font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #DDD;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.bootstrap-frm h1 {
    font: 25px "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom: 1px solid #DADADA;
    margin: -10px -30px 30px -30px;
    color: #888;
}
.bootstrap-frm h1>span {
    display: block;
    font-size: 11px;
}
.bootstrap-frm .label {
    display: block;
    margin: 0px 0px 5px;
}
.bootstrap-frm label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
}
.bootstrap-frm input[type="text"],input[type="email"],input[type="number"],input[type="password"],input[type="date"], .bootstrap-frm input[type="email"], .bootstrap-frm textarea, .bootstrap-frm select{
    border: 1px solid #CCC;
    color: #888;
    height: 20px;
    line-height:15px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 5px 0px 5px 5px;
    width: 70%;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;    
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}



.bootstrap-frm select {
    background: #FFF url('down-arrow.png') no-repeat right;
    background: #FFF url('down-arrow.png') no-repeat right;
    appearance:none;
    -webkit-appearance:none; 
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height:15px;
}
.bootstrap-frm textarea{
    height:100px;
    padding: 5px 0px 0px 5px;
    width: 70%;
}
.bootstrap-frm .button {
    background: #FFF;
    border: 1px solid #CCC;
    padding: 10px 25px 10px 25px;
    color: #333;
    border-radius: 4px;
}
.bootstrap-frm .button:hover {
    color: #333;
    background-color: #EBEBEB;
    border-color: #ADADAD;
}
    
    </style>

<script>

    function validar() {


        var r = confirm("Esta seguro de eliminar los registros correspondientes a este programa ?");
        if (r == true) {
            return true;
        } else {
            return false;
        }

    }

  

</script>

</head>
<body>
   <form id="form1" runat="server" class="bootstrap-frm">

    
   
     <label class="label">
     
        <span>Actividad :</span>
        <asp:TextBox ID="tbActividad" runat="server" placeholder="Nombre de la actividad" required
        ></asp:TextBox>
   
        <span>Fecha Inicial :</span>
       <asp:TextBox ID="tbFechaInicial" runat="server" placeholder="YYYY-MM-DD" required
        Type="date"></asp:TextBox>

        <span>Fecha Final :</span>
        <asp:TextBox ID="tbFechaFinal" runat="server" placeholder="YYYY-MM-DD" required
        Type="date"></asp:TextBox>

         <span>
      <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox1" runat="server"
        Type="date" Visible="False"></asp:TextBox>

               <span>
      <asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox2" runat="server"
        Type="date" Visible="False"></asp:TextBox>

               <span>
      <asp:Label ID="Label3" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox3" runat="server"
        Type="date" Visible="False"></asp:TextBox>


               <span>
      <asp:Label ID="Label4" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox4" runat="server"
        Type="date" Visible="False"></asp:TextBox>


               <span>
      <asp:Label ID="Label5" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox5" runat="server"
        Type="date" Visible="False"></asp:TextBox>


               <span>
      <asp:Label ID="Label6" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox6" runat="server"
        Type="date" Visible="False"></asp:TextBox>



               <span>
      <asp:Label ID="Label7" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox7" runat="server"
        Type="date" Visible="False"></asp:TextBox>



               <span>
      <asp:Label ID="Label8" runat="server" Text="Label" Visible="False"></asp:Label>
      </span>
        <asp:TextBox ID="TextBox8" runat="server"
        Type="date" Visible="False"></asp:TextBox>
     
         &nbsp;<br />
     <br />
        

         <asp:Button ID="btGuardar" runat="server" Text="Guardar" class="button" 
              />
       &nbsp;<asp:Button ID="btEliminar0" runat="server" Text="Eliminar" 
         class="button" onclick="btEliminar_Click"  />
       <br />
       <br />


       <span>Agregar columna :</span>
        <asp:TextBox ID="tbColumna" runat="server" placeholder="Colocar el nombre del nuevo componente" 
        Type="date"></asp:TextBox>
     
     
     
     <br />
        

         <asp:Button ID="btAdicionarComp" runat="server" Text="Adicionar" 
         class="button" onclick="btAdicionarComp_Click"  formnovalidate
         />
     
     
     
     &nbsp;<asp:Button ID="btEliminarComp" runat="server" Text="Quitar" 
         class="button" onclick="btEliminarComp_Click" formnovalidate />
     
     
     
     </label><asp:GridView ID="gvCronograma" runat="server" Width="100%" >
           
       
       </asp:GridView>

      
  
        <br />
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    
      
  
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
                        >
            <LocalReport ReportPath="Reportes\Gantt.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                        Name="DataSetCronograma" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>

      
  
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
            TypeName="Apa.Data.DataSetApaTableAdapters.vw_cronogramaTableAdapter">
        </asp:ObjectDataSource>
    
      
  
    </form>
</body>
</html>
